﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace QueryTest.Code
{
    public class TestEntity
    {
        //[Chloe.Entity.Column(IsPrimaryKey = true)]
        //[Chloe.Entity.AutoIncrement]
        public int Id { get; set; }
        public byte? F_Byte { get; set; }
        public Int16? F_Int16 { get; set; }
        public int? F_Int32 { get; set; }
        public long? F_Int64 { get; set; }
        public double? F_Double { get; set; }
        public float? F_Float { get; set; }
        public decimal? F_Decimal { get; set; }
        public bool F_Bool { get; set; }
        public DateTime? F_DateTime { get; set; }
        //public Guid? F_Guid { get; set; }
        public string F_String { get; set; }
        public MType MType
        {
            get;
            set;
        }
    }
    public enum MType
    {
        a, b
    }

    public class TestEntityItem
    {
        public int TestEntityId { get; set; }
        public string Name { get; set; }
    }
}
